<?php
defined('IN_TS') or die('Access Denied.');

//读取数据
$arrData = fileRead('data/plugins_pubs_weixin.php');
if($arrWeixin){
    $arrData = $tsMySqlCache->get('plugins_pubs_weixin');
}

//$arrData = fileRead('data/plugins_pubs_weixin.php');

//print_r($arrData);exit;

define( "WX_AKEY" , $arrData['wx_akey']);
define( "WX_SKEY" , $arrData['wx_skey'] );
define( "WX_CALLBACK_URL" , $arrData['siteurl']."index.php?app=pubs&ac=plugin&plugin=weixin&in=callback" );

//define( "WX_AKEY" , 'wx137e7a359deecfe7');
//define( "WX_SKEY" , '165a22c4e89b0eb744bd8cb839cb12de' );
//define( "WX_CALLBACK_URL" , "http://www.thinksaas.cn/index.php?app=pubs&ac=plugin&plugin=weixin&in=callback" );